﻿using SqlSugar;

namespace ProjectScheduling_web.model
{
    [SugarTable("Product")]
    public class Product : BClass
    {
        /// <summary>
        /// 类型ID
        /// </summary>
        public int CatetoryId { get; set; }
        /// <summary>
        /// 类型名称
        /// </summary>
        public string? CategoryName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? Code { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 产品单价
        /// </summary>
        public decimal Money { get; set; }
        /// <summary>
        /// 产品规格
        /// </summary>
        public string? Spec { get; set; }
        /// <summary>
        /// 创建人ID
        /// </summary>
        public int CreaterId { get; set; }
        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string? CreaterName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 产品单位
        /// </summary>
        public string? Unit { get; set; }
    }
}
